import request from '@/utils/request'

// 查询hbs_商业匹配控制列表
export function listHbsBusinessMapping(query) {
  return request({
    url: '/hbs/hbsBusinessMapping/list',
    method: 'get',
    params: query
  })
}

// 查询hbs_商业匹配控制详细
export function getHbsBusinessMapping(id) {
  return request({
    url: '/hbs/hbsBusinessMapping/' + id,
    method: 'get'
  })
}

// 新增hbs_商业匹配控制
export function addHbsBusinessMapping(data) {
  return request({
    url: '/hbs/hbsBusinessMapping',
    method: 'post',
    data: data
  })
}

// 修改hbs_商业匹配控制
export function updateHbsBusinessMapping(data) {
  return request({
    url: '/hbs/hbsBusinessMapping',
    method: 'put',
    data: data
  })
}

// 删除hbs_商业匹配控制
export function delHbsBusinessMapping(id) {
  return request({
    url: '/hbs/hbsBusinessMapping/' + id,
    method: 'delete'
  })
}
